package org.fin.config;

import org.fin.utils.ParameterMapping;

import java.util.List;

public class BoundSql {

  private String parsedSql;

  /**
   * 配置的sql语句中占位符对应的变量名
   */
  private List<ParameterMapping> parameterMappings;

  public BoundSql(String parsedSql, List<ParameterMapping> parameterMappings) {
    this.parsedSql = parsedSql;
    this.parameterMappings = parameterMappings;
  }

  public String getParsedSql() {
    return parsedSql;
  }

  public void setParsedSql(String parsedSql) {
    this.parsedSql = parsedSql;
  }

  public List<ParameterMapping> getParameterMappings() {
    return parameterMappings;
  }

  public void setParameterMappings(List<ParameterMapping> parameterMappings) {
    this.parameterMappings = parameterMappings;
  }
}
